package com.dlc.shop.bean.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 商家审核信息
 *
 * @author Dwl
 * @date 2019-09-19 14:02:57
 */
@Data
@TableName("tz_shop_auditing")
public class ShopAuditing implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 店铺审核id
     */
    @TableId
    private Long shopAuditingId;

    @Schema(description = "申请人id", requiredMode = Schema.RequiredMode.REQUIRED)
    private String userId;

    @Schema(description = "店铺id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long shopId;

    @Schema(description = "审核人id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long auditorId;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private Date createTime;

    @Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private Date updateTime;

    @Schema(description = "0 未审核 1已通过 -1未通过 -2未提交审核", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer status;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED)
    private String remarks;

    @Schema(description = "是否开启开店协议")
    @TableField(exist = false)
    private Boolean shopProtocolSwitch;
}
